package com.anjbo.service.order.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;

import com.anjbo.bean.order.ProductConfigurationConfigDto;
import com.anjbo.bean.order.ProductConfigurationDto;
import com.anjbo.dao.mort.order.ProductConfigurationMapper;
import com.anjbo.service.order.ProductConfigurationService;

@Service
public class ProductConfigurationServiceImpl implements ProductConfigurationService{

	@Resource
	private ProductConfigurationMapper productConfigurationMapper;

	public List<ProductConfigurationDto> selectProductConfigurationList(){
		return productConfigurationMapper.selectProductConfigurationList();
	}
	public int selectCount(ProductConfigurationConfigDto productConfigurationDto){
		return productConfigurationMapper.selectCount(productConfigurationDto);
	}
	public int add(ProductConfigurationConfigDto productConfigurationDto){
		return productConfigurationMapper.add(productConfigurationDto);
	}
	@Override
	public Map<String, Object> selectStateByName(String name) {
		return productConfigurationMapper.selectStateByName(name);
	}

	@Override
	public List<String> selectProCityList() {
		return productConfigurationMapper.selectProCityList();
	}
}